package com.lrh.just.dao;

import com.lrh.just.po.JustUser;
import com.lrh.just.po.JustUserExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
public interface JustUserMapper {
    long countByExample(JustUserExample example);

    int deleteByExample(JustUserExample example);

    int deleteByPrimaryKey(Integer userNo);

    int insert(JustUser record);

    int insertSelective(JustUser record);

    List<JustUser> selectByExample(JustUserExample example);

    JustUser selectByPrimaryKey(Integer userNo);

    int updateByExampleSelective(@Param("record") JustUser record, @Param("example") JustUserExample example);

    int updateByExample(@Param("record") JustUser record, @Param("example") JustUserExample example);

    int updateByPrimaryKeySelective(JustUser record);

    int updateByPrimaryKey(JustUser record);

    JustUser getUser(Integer userId);
}